package org.example.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.example.entity.LeaveApplication;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Author: 鸢一折纸
 * @Email: 3498881048@qq.com
 * @Date: 2025/09/08 8:32
 * @Description: ${Description}
 **/


public interface LeaveApplicationService extends IService<LeaveApplication> {
    Page<LeaveApplication> findLeaveApplication(Page<LeaveApplication> page, Integer userId, String leaveType, String attendanceCycle, String applicationDate);

    List<String> findAllAnnual(String leaveType, Integer userId);
}
